package per.jdz.demo.domain.entity;

/**
 * @author Jdz
 * @date 2025/1/6
 */

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import per.jdz.demo.utils.DateConverter;
import per.jdz.demo.utils.SaleStatusConverter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table("house_data")
@Data
public class HouseData implements Serializable {
    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    @Id(keyType = KeyType.Auto)
    private Long id;
    @ExcelIgnore
    private String hashValue;
    private String projectName;
    private String city;
    private String district;
    @ExcelProperty(converter = DateConverter.class)
    private Date supplyDate;
    private String preSaleLicenseNumber;
    @ExcelProperty(converter = DateConverter.class)
    private Date transactionDate;
    private String purpose;
    private String buildingArea;
    private String innerArea;
    private String buildingNumber;
    private String roomNumber;
    private String floor;
    private String saleStatus;
    private String projectAddress;
    private String developer;
    @ExcelIgnore
    private Long commonId;
    @ExcelIgnore
    private Double similarDegree;
    private String formatRoomNumber;
    private String unitNumber;
    private String room;
}



